/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

body, html, span, input, textarea {
  font-family: "PingFang SC","Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  color: $tc1;
  //box-sizing: border-box;
  font-size: 13px;
  -webkit-print-color-adjust: exact;
}
@page {
  margin: 0;
}
span, p {
  font-size: 13px;
}
b {
  color: $tc2;
}
ul,li {
  list-style: none;
}
img {
  border: none;
}
a, a:link, a:visited, a:hover, a:active{
  color: $tc1;
  text-decoration: none;
  cursor: pointer;
}
.cursor-pointer{
  cursor: pointer;
}

textarea {
  overflow: auto;
  border: 1px solid #eee;
  resize: none;
  padding: 5px;
}

hr {
  border: none;
  color: $dc1;
  background-color: $dc1;
  height: 0.8px;
}

/*-----------------------------------------------------------------常用的公共样式--开始--------------------------------------------------------------------------*/
/*左右浮动*/
.float-r{
  float: right;
}
.float-l{
  float: left;
}
.float-none{
  float:none;
}

/*相对定位*/
.pos-relative{
  position: relative;
}
/*变块元素*/
.dis-block {
  display: block;
}
/*变行内块元素元素*/
.dis-in-block {
  display: inline-block;
}

/*清浮动*/
.clear-fix:after{
  content:".";
  clear:both;
  display:block;
  height:0;
  overflow:hidden;
  visibility:hidden;
}

/*文字不换行,显示省略号*/
.overflow-els{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*文字换行,显示两行，超出隐藏*/
.lines-3{
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
}

/*常用外边距*/
.margin-t5 {
  margin-top: 5px;
}

.margin-t10 {
  margin-top: 10px;
}

.margin-t15 {
  margin-top: 15px;
}

.margin-l5 {
  margin-left: 5px;
}

.margin-l10 {
  margin-left: 10px;
}

.margin-l15 {
  margin-left: 15px;
}

.margin-b5 {
  margin-bottom: 5px;
}

.margin-b10 {
  margin-bottom: 10px;
}

.margin-b15 {
  margin-bottom: 15px;
}

.margin-lr5 {
  margin: 0 5px;
}

.margin-lr10 {
  margin: 0 10px;
}

.margin-5 {
  margin: 5px;
}

.margin-10 {
  margin: 10px;
}

.margin-15 {
  margin: 15px;
}

.margin-r5 {
  margin-right: 5px;
}

.margin-r10 {
  margin-right: 10px;
}

.margin-r15 {
  margin-right: 15px;
}

/*常用内边距*/
.pad-l10 {
  padding-left: 10px;
}

.pad-r10 {
  padding-right: 10px;
}

.pad-lr8 {
  padding: 0 8px;
}

.pad-l15 {
  padding-left: 15px;
}

.pad-b15 {
  padding-bottom: 15px;
}

.pad-5 {
  padding: 5px;
}

.pad-10 {
  padding: 10px;
}

.pad-15 {
  padding: 15px;
}

.pad-t15 {
  padding-top: 15px;
}

.flex-1 {
  flex: 1;
}

/*设置滚动条*/
::-webkit-scrollbar-track {
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border-radius: 1px;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: #F5F5F5;
}

/* flex样式 */
.display-flex{
  display:flex;
}
.flex-flow-row{
  display: flex;
  flex-wrap: nowrap;
  flex-flow: row;
}
.flex-flow-column {
  display: flex;
  flex-wrap: nowrap;
  flex-flow: column;
}

/*设置全局下划线*/
.text-decoration-cursor{
  text-decoration: underline;
  cursor: pointer;
}

.bottom-divider {
  border-bottom: 1px solid $dc1;
}
/* 去除i em i 默认样式 */
.i-nostyle,
.em-nostyle {
  font-style: normal;
}
